You are here: AgileShapes > Microsoft SPS > New Site

New Site

This AgileShape can be used to automatically create a new SharePoint team site.

 

NOTE: This AgileShape is a specialized sub-type of the AgilePart AgileShape. Refer to the documentation for the AgilePart AgileShape for additional information about the properties and behavior that this sub-type inherits from the AgilePart AgileShape.

 

IMPORTANT: When creating the site collection, a top-level site must already exist, if one does not exist, declare a blank site and enable the Web site via the SharePoint Configuration Manager.

 

Design-Time Properties

NOTE: Since this AgileShape is a specialized sub-type of the AgilePart AgileShape, all of the standard properties supported by the AgilePart AgileShape are also supported by this AgileShape. Since they are already documented elsewhere, the standard AgilePart properties are not documented in this section. Refer to the documentation for the AgilePart AgileShape for information about the standard AgilePart properties. Additional design-time properties (other than the standard AgilePart properties) that are specific to this AgileShape are documented below. The properties below are all required fields in order for the new site to be created. Below is an example of how these properties can be populated:

 

 

ConvertIfThere

Default value: False

This property specifies whether the AgileShape should convert an existing site of the same name to a new SharePoint site. This property can be set to the following specific values:

 

Locale

This property specifies the locale code for the new SharePoint site (E.g. 1033).

 

OverWriteSite

Default value: False

This property specifies whether the AgileShape should overwrite the existing site if a SharePoint site already exists at the location where the new site will be created. This property can be set to the following specific values:

 

SiteTitle

This property specifies the title for the new SharePoint site.

 

SiteURL

This property specifies the URL for the new SharePoint site.

 

E.g. http://MachineName:Port/sites/SiteName

 

IMPORTANT: It is required to include the /sites in the SiteURL in order for the site to be created successfully.

 

UseUniquePermissions

This property specifies whether the sub site should inherit permissions from the parent site. If set to "True" the site will use unique permissions.

 

WebTemplate

This property specifies the name of the SharePoint Site template that will be used to create the new SharePoint site. This property can be set to the name of any SharePoint Site template (e.g. Team Site).